package cn.yy.common.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * 全局异常处理自动配置
 * @author wood
 */
@ConditionalOnProperty(prefix = "yy.config.global-exception-handler",name = "enabled",havingValue = "true")
@ComponentScan("cn.yy.common.exception")
@Configuration
public class GlobalExceptionAutoConfig {

}
